home *** CD-ROM | disk | FTP | other *** search
- 3rd Party information
- #Wrap off
- #fh3:&7FFFFFFF to TRUE\>\>\>1 conversion
-
- This option will convert the number &7FFFFFFF into the shorter equivalent TRUE>>>1.
-
- There is a small problem with this, in that the symbol >>> has a mathematical priority similar to any other
- mathematical operation such as + or -. If this number were merely converted, then it could cause errors
- to occur in some equations.
-
- /Example/
-
- {*}PRINT &7FFFFFFF{*}
- and
- {*}PRINT TRUE>>>1{*}
- are equivalent, but
- {*}PRINT &7FFFFFFF+1{*}
- and
- {*}PRINT TRUE>>>1+1{*}
- are not!
-
- To prevent this problem from occuring, the code checks for the existence of a mathematical
- expression in which this problem may occur, and if it finds one, replaces {*}&7FFFFFFF{*} with
- {*}(TRUE>>>1){*} and so in the above example would give:
-
- {*}PRINT (TRUE>>>1)+1{*}
-
- which still gives a small saving in file size.
-
- #Line
- #fh4
- #align centre
- © David Sharp v1.20 (11/04/1997)